package cn.t.converter.device;

import cn.t.core.converter.CoreConverter;
import cn.t.model.device.DeviceOpenRecordDO;
import cn.t.persistence.entity.device.DeviceOpenRecordPO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * 设备开门记录表(DeviceOpenRecord)领域对象与实体对象转换
 *
 * @author t
 * @since 2024-05-24 10:18:09
 */
@Mapper(componentModel = "spring")
public interface DeviceOpenRecordConverter extends CoreConverter<DeviceOpenRecordDO, DeviceOpenRecordPO> {
        List<DeviceOpenRecordDO> po2DOList(List<DeviceOpenRecordPO> deviceOpenRecords);
}

